package org.genntii.warehousesystem.domain.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("cart")
public class Cart {
    @TableId
    private int id;
    @TableField("user_id")
    private int userId;
    @TableField("goods_id")
    private int goodsId;
    @TableField("add_cart_price")
    private BigDecimal addCartPrice;
    private int num;
    @TableField("create_time")
    private LocalDateTime createTime;
}
